/**
 * Copyright(c) 2013 Jade Techonologies Co., Ltd.
 *
 * History:
 *   13-7-11 下午2:57 Created by sky
 */
package com.jade.modules.message.sms.bestone;

/**
 * 协议常量定义。
 *
 * @author sky
 * @version 1.0 13-7-11 下午2:57
 */
public interface BestoneConstants
{
    public static final int CMD_LOGIN = 0x00000004;
    public static final int CMD_LOGIN_RESP = 0x00000001;
    public static final int CMD_SUBMIT = 0x00000002;
    public static final int CMD_SUBMIT_RESP = 0x00000003;
    public static final int CMD_TIMEOUT_NOTICE = 0x00000005;

    public static final String SC_LOGIN_SUCCESS = "000";// 登陆成功
    public static final String SC_LAWLESS_USER_NAME = "002";// 非法用户名
    public static final String SC_LAWLESS_USER_PASS = "003";// 密码错误
    public static final String SC_RECEIVE_SUCCESS = "001";// 数据包正确，接收成功
    public static final String SC_LAWLESS_FROMAT = "004";// 非法格式数据包
    public static final String SC_LAWLESS_AIM_PHONE = "005";// 非法目标号码
    public static final String SC_LINK_OVERTIME = "006";// 连接超时
    public static final String SC_INFO_TOO_LONG = "007";// 信息内容长度太长
    public static final String SC_LAWLESS_SEND_PHONE = "008";// 非法发送号码
    public static final String SC_LAWLESS_SEND_TIME = "009";// 非法申请发送时间
    public static final String SC_LAWLESS_MSG_TYPE = "010";// 非法短信业务类型
    public static final String SC_USER_NOT_OPEN = "011";// 用户没有开通
    public static final String SC_USER_NOT_LOGIN = "012";// 你还未登录或者会话已过期，请先登录，再发送数据包
    public static final String SC_LAWLESS_LOGIN_FROMAT = "013";// Login数据包格式错误
    public static final String SC_TOO_MANY_REQUESTS = "014";// 请求次数太多
    public static final String SC_SEND_LIMIT = "015";// 短信发送量超过服务器限定的最大值
    public static final String SC_LAWLESS_LOGIN_IP = "016"; // 非法的登录ip
    public static final String SC_TOO_MANY_SAME_MESSAGE = "017"; // 短时间内大量的相同信息和相同目标
    public static final String SC_TOO_MANY_SMS = "018"; // 流量溢出
    public static final String SC_NO_SUPOORT_OPER = "019"; // 不支持此类运行商
    public static final String SC_ERROR_PRODUCT_ID = "020"; // 不支持此产品类型
    public static final String SC_NO_MORE_LESS = "099"; // 未定义异常,客户端太旧，异常码不足
}